import request from "@/utils/request";

// 获取轮播图
export const list = (params) => {
  return request.get("banner/list", { params });
};

// 删除轮播图
export const del = (id) => {
  return request.delete(`banner/delete/${id}`);
};
